<!DOCTYPE html>
<html lang="zxx" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="description" content="Aila">
    <meta name="keywords" content="HTML,CSS,JavaScript">
    <meta name="author" content="HiBootstrap">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>服务编排系统</title>
    <link rel="icon" th:href="@{../../static/assets/images/a4.jpg}" type="image/png" sizes="16x16">

    <!-- bootstrap css -->
    <link rel="stylesheet" th:href="@{../../static/assets/css/bootstrap.min.css}" type="text/css" media="all" />
    <!-- animate css -->
    <link rel="stylesheet" th:href="@{../../static/assets/css/animate.min.css}" type="text/css" media="all" />
    <!-- owl carousel css -->
    <link rel="stylesheet" th:href="@{../../static/assets/css/owl.carousel.min.css}" type="text/css" media="all" />
    <link rel="stylesheet" th:href="@{../../static/assets/css/owl.theme.default.min.css}" type="text/css" media="all" />
    <!-- meanmenu css -->
    <link rel="stylesheet" th:href="@{../../static/assets/css/meanmenu.min.css}" type="text/css" media="all" />
    <!-- magnific popup css -->
    <link rel="stylesheet" th:href="@{../../static/assets/css/magnific-popup.min.css}" type="text/css" media="all" />
    <!-- boxicons css -->
    <link rel='stylesheet' th:href="@{../../static/assets/css/boxicons.min.css}" type="text/css" media="all" />
    <!-- Line Awesome CSS -->
    <link rel='stylesheet' th:href="@{../../static/assets/css/line-awesome.min.css}" type="text/css" media="all" />
    <!-- flaticon css -->
    <link rel='stylesheet' th:href="@{../../static/assets/css/flaticon.css}" type="text/css" media="all" />
    <!-- style css -->
    <link rel="stylesheet" th:href="@{assets/css/style.css}" type="text/css" media="all" />
    <!-- responsive css -->
    <link rel="stylesheet" th:href="@{assets/css/responsive.css}" type="text/css" media="all" />
    <!--[if IE]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
</head>
    <body>
        <div class="authentication-section">
            <div class="authentication-grid">
                <div class="authentication-item authentication-img-bg">
                </div>
                <div class="authentication-item bg-white pl-15 pr-15">
                    <div class="authentication-user-panel">
                        <div class="authentication-user-header">
                           <img th:src="@{assets/images/a-sanxiang.jpg}" alt="logo">
                        </div>
                        <div class="authentication-user-body">
                            <div class="authentication-tab">
                                <div class="authentication-tab-item authentication-tab-active"  data-authentcation-tab="1">
                                    <img src="assets/images/login.png" alt="icon">
                                    登录
                                </div>
                                <div class="authentication-tab-item"  data-authentcation-tab="2">
                                    <img th:src="@{assets/images/register.png}" alt="icon">
                                    注册
                                </div>
                            </div>
                            <div class="authentication-tab-details">
                                <div class="authentication-tab-details-item authentication-tab-details-active" data-authentcation-details="1">
                                    <div class="authentication-form">
<!--                                        登录表格-->
                                        <form th:action="@{/login}">
                                            <div class="row">
                                                <div class="col-sm-12 col-md-12 col-lg-12">
                                                    <div class="form-group mb-15">
                                                        <div class="input-group">
                                                            <div class="input-group-prepend">
                                                            <span class="input-group-text"><i class="flaticon-user"></i></span>
                                                            </div>
                                                            <input type="text" class="form-control" name="username" placeholder="用户名" required />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-12 col-md-12 col-lg-12">
                                                    <div class="form-group mb-15">
                                                        <div class="input-group">
                                                            <div class="input-group-prepend">
                                                            <span class="input-group-text"><i class="flaticon-user"></i></span>
                                                            </div>
                                                            <input type="password" class="form-control" name="password" placeholder="密码" required />
                                                        </div>
                                                    </div>
                                                </div>
                                                <p style="color: red;text-align: center;font-size: larger" th:text="${msg}" th:if="${not #strings.isEmpty(msg)}"></p>
                                                <div class="col-sm-12 col-md-12 col-lg-12">
                                                    <button class="btn1 orange-gradient full-width">登录</button>
                                                </div>
                                            </div>
<!--                                            <div class="authentication-account-access mt-20">-->
<!--                                                <div class="authentication-account-access-item">-->
<!--                                                    <div class="authentication-checkbox">-->
<!--                                                        <input type="checkbox" id="remember">-->
<!--                                                        <label for="remember">记住我</label>-->
<!--                                                    </div>-->
<!--                                                </div>-->
<!--                                                <div class="authentication-account-access-item">-->
<!--                                                    <div class="authentication-link">-->
<!--                                                        <a href="forget-password.html">忘记密码?</a>-->
<!--                                                    </div>-->
<!--                                                </div>-->
<!--                                            </div>-->
                                        </form>
                                    </div>

                                </div>
                                <div class="authentication-tab-details-item"  data-authentcation-details="2">
                                    <div class="authentication-form">
<!--                                        注册表单-->
                                        <form th:action="@{/register}">
                                            <div class="row">
                                                <div class="col-sm-12 col-md-12 col-lg-12">
                                                    <div class="form-group mb-15">
                                                        <div class="input-group">
                                                            <div class="input-group-prepend">
                                                            <span class="input-group-text"><i class="flaticon-user"></i></span>
                                                            </div>
                                                            <input type="text" class="form-control" name="username" placeholder="用户名" required />
                                                        </div>
                                                    </div>
                                                </div>
<!--                                                默认注册的用户都不是管理员-->
                                                <input type="hidden" name="flag" th:value="0">
                                                <div class="col-sm-12 col-md-12 col-lg-12">
                                                    <div class="form-group mb-15">
                                                        <div class="input-group">
                                                            <div class="input-group-prepend">
                                                            <span class="input-group-text"><i class="flaticon-user"></i></span>
                                                            </div>
                                                            <input type="email" class="form-control" name="email" placeholder="邮箱地址" required />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-12 col-md-12 col-lg-12">
                                                    <div class="form-group mb-15">
                                                        <div class="input-group">
                                                            <div class="input-group-prepend">
                                                            <span class="input-group-text"><i class="flaticon-user"></i></span>
                                                            </div>
                                                            <input type="password" class="form-control" name="password" placeholder="密码" required />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-12 col-md-12 col-lg-12">
                                                    <div class="form-group mb-15">
                                                        <div class="input-group">
                                                            <div class="input-group-prepend">
                                                            <span class="input-group-text"><i class="flaticon-user"></i></span>
                                                            </div>
                                                            <input type="password" class="form-control" name="repassword" placeholder="确认密码" required />
                                                        </div>
                                                    </div>
                                                </div>
                                                <p style="color: red;text-align: center;font-size: larger" th:text="${msg}" th:if="${not #strings.isEmpty(msg)}"></p>
                                                <div class="col-sm-12 col-md-12 col-lg-12">
                                                    <button class="btn1 orange-gradient full-width">注册</button>
                                                </div>
                                            </div>
                                        </form>
                                    </div>

                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- .end authentication-section -->
        <script th:src="@{assets/js/jquery-3.5.1.min.js}"></script>
        <script th:src="@{assets/js/popper.min.js}"></script>
        <script th:src="@{assets/js/bootstrap.min.js}"></script>
        <script th:src="@{assets/js/jquery.magnific-popup.min.js}"></script>
        <script th:src="@{assets/js/owl.carousel.min.js}"></script>
        <script th:src="@{assets/js/jquery.ajaxchimp.min.js}"></script>
        <script th:src="@{assets/js/form-validator.min.js}"></script>
        <script th:src="@{assets/js/contact-form-script.js}"></script>
        <script th:src="@{assets/js/jquery.meanmenu.min.js}"></script>
        <script th:src="@{assets/js/jquery.waypoints.js}"></script>
        <script th:src="@{assets/js/counter-up.js}"></script>
        <script th:src="@{assets/js/script.js}"></script>
    </body>
</html>
